﻿using System;
using System.Collections.Generic;
using System.Text;

namespace CMN.Entity
{
      ///<summary>
    ///Module_PhotoEntity实体类(图片)
    ///</summary>
    [Serializable]
    public partial class Module_PhotoEntity : Module_ListInfo
    {
        #region "Private Variables"
        private  DataTableAction _DataTableAction_;  // 操作方法 Insert:增加 Update:修改 Delete:删除
       
        private int _IsPass=0; // 是否审核
        private bool _IsImg=false; // 是否图片

        private Int32 _ReadGroup=0; // 阅读权限
      
        private String _PhotoUrl=""; // 图片地址
        private Int32 _PageSize=0; // 显示图片数量
        private Int32 _ReadComment=0; // 阅读评论权限
        private Int32 _WriteComment=0; // 评论权限

        private bool _Enabled = false;
        #endregion

        #region "Public Variables"
        ///<summary>
        /// 操作方法 Insert:增加 Update:修改 Delete:删除
        ///</summary>
        public DataTableAction DataTable_Action
        {
            set { this._DataTableAction_ = value; }
            get { return this._DataTableAction_; }
        }

        /// <summary>
        /// 是否启用
        /// </summary>
        public bool Enabled
        {
            get { return _Enabled; }
            set { _Enabled = value; }
        }
      
        /// <summary>
        /// 是否审核
        /// </summary>
        public int  IsPass
        {
            set { this._IsPass = value; }
            get { return this._IsPass; }
        }
        /// <summary>
        /// 是否图片
        /// </summary>
        public bool  IsImg
        {
            set { this._IsImg = value; }
            get { return this._IsImg; }
        }

     
      
        /// <summary>
        /// 阅读权限
        /// </summary>
        public Int32  ReadGroup
        {
            set { this._ReadGroup = value; }
            get { return this._ReadGroup; }
        }
       
        /// <summary>
        /// 图片地址
        /// </summary>
        public String  PhotoUrl
        {
            set { this._PhotoUrl = value; }
            get { return this._PhotoUrl; }
        }
        /// <summary>
        /// 显示图片数量
        /// </summary>
        public Int32  PageSize
        {
            set { this._PageSize = value; }
            get { return this._PageSize; }
        }
        /// <summary>
        /// 阅读评论权限
        /// </summary>
        public Int32  ReadComment
        {
            set { this._ReadComment = value; }
            get { return this._ReadComment; }
        }
        /// <summary>
        /// 评论权限
        /// </summary>
        public Int32  WriteComment
        {
            set { this._WriteComment = value; }
            get { return this._WriteComment; }
        }
       
        #endregion
    }
}
